<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>extends</title>
</head>

<body>
    <!-- 头部部分 -->
    {% block titleBlock %}
    <h1>静夜思</h1>
    {% endblock %}

    <!-- 正文部分 -->
    {% block contentBlock %}

    {% endblock %}

    <!-- 底部部分 -->
    {% block footBlock %}
    <div>
        <a href="#">点我有惊喜！</a>
    </div>
    {% endblock %}
</body>

</html>